package com.video.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.dto.DraftVideoAddDTO;
import com.common.domain.dto.DraftVideoQueryByConditionDTO;
import com.common.domain.dto.DraftVideoUpdateDTO;
import com.common.domain.po.DraftVideo;
import com.common.domain.vo.DraftVideoQueryByIdVO;
import com.common.domain.vo.DraftVideoQueryByPageVO;
import com.common.domain.vo.DraftVideoQueryVideoAndItemById;

/**
 * @author 路亚
 * @version 0.1
 * @className DraftVideoService
 * @description
 * @date 2024/12/10 22:43
 * @since jdk11
 */
public interface DraftVideoService extends IService<DraftVideo> {

    void add(DraftVideoAddDTO draftVideoAddDTO);

    void updateByDraftId(DraftVideoUpdateDTO draftVideoAddDTO);

    void postVideo(Long id);

    void downVideo(Long id);

    void removeDraftById(Long id);

    DraftVideoQueryByPageVO queryByCondition(DraftVideoQueryByConditionDTO dto, Integer page, Integer pageSize);

    DraftVideoQueryByIdVO queryById(Long id);

    DraftVideoQueryVideoAndItemById queryVideoAndItemById(Long id, Integer num);
}
